package com.webside.points.model;

import java.util.Date;

import com.webside.points.wechat.DateUtil;

public class TopSearchEntity {

	/*
	 * 编号
	 */
	private int id;
	/*
	 * 名称
	 */
	private String name;
	/*
	 * 描述
	 */
	private String describe;
	/*
	 * 状态
	 */
	private String status;
	/*
	 * 创建时间
	 */
	private Date createTime;
	
	private String rank;
	
	private int curPage;
	
	/*
	 * 格式化创建时间
	 */
	private String createDateFormat;
	
	

	public String getCreateDateFormat() {
		return createDateFormat;
	}

	public void setCreateDateFormat(String createDateFormat) {
		this.createDateFormat = createDateFormat;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
		this.createDateFormat = DateUtil.dateFormat(createTime);
	}

	@Override
	public String toString() {
		return "TopSearchEntity [id=" + id + ", name=" + name + ", describe=" + describe + ", status=" + status
				+ ", createTime=" + createTime + ", rank=" + rank + ", curPage=" + curPage + ", createDateFormat="
				+ createDateFormat + "]";
	}
	
	
}
